IBM Books

AIS V3.4 Protocol Reference V2


Configuring and Monitoring Routing Information Protocol (RIP6)

RIP6 is a distance vector routing protocol. Configuration for RIP6 is done for each interface. This chapter describes how to use the RIP6 configuration and operating commands and includes the following sections:


Accessing the RIP6 Configuration Environment

Use the following procedure to access the RIP6 configuration process.

  1. At the OPCON prompt, enter talk 6. (For more detail on this command, refer to "The OPCON Process and Commands" in Access Integration Services Software User's Guide.) For example:
        * talk 6
        Config>
     
    

    After you enter the talk 6 command, the CONFIG prompt (Config>) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.

  2. At the CONFIG prompt, enter the p rip6 command to get to the RIP66 Config> prompt.

RIP6 Configuration Commands

To configure RIP6, enter the commands at the RIP66 Config> prompt.


Table 113. RIP6 Configuration Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 add   Adds RIP6 on an interface. 
 change   Changes RIP6 metric configuration values or the originating default. 
 delete   Removes RIP6 from an interface. 
 disable   Disables RIP6 on an interface. 
 enable   Enables RIP6 on an interface. 
 list   Lists the configuration. 
 set   Sets RIP6 metric values. 
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

Add

Use the add command to add RIP6 on an interface.

Syntax:

add
interface#

interface#
Specifies the interface to which RIP6 protocol is to be added.
Note:This interface must have an IPv6 address configured or be the virtual interface of an IPv6 over IPV4 tunnel.

Valid Values: Any valid interface number

Default Value: None

Change

Use the change command to change a RIP6 metric.

Syntax:

change
originating-default
rip6-in-metric
rip6-out-metric

originating-default
This following configuration parameters allow you to change the originating default router.

Always originate default route
Enabling this parameter allows RIP6 to advertise the router as a default router (called "originating the default route"). The default router performs routing for other routers on the Internet that have packets for an unknown network destination.

Valid Values: Yes or No

Default Value: No

Originate default dependent on BGP route availability
This field allows user to enable or disable a router running EGP/BGP to advertise itself as a default router via its IGP (RIP6 in this case.)

Valid Values: Yes or No

Default Value: No

From AS number
If you are configuring RIP6 to originate a default route when EGP routes are available, you can also configure it to originate the default only if EGP routes are received from a particular AS. For example, if you want a default route generated only if an EGP route is received from AS number 12, you would set this parameter to 12. Setting the AS number to 0 means "from any AS."

Valid Values: 0 - 65535

Default Value: None

Destination prefix (or network number)
If you are originating a default route when EGP routes are available, you can also choose to originate the default only if a particular route is received through the EGP. For example, if you want a default route generated only if a route to network N is received, you would set this parameter to N. Setting the network number to :: (zero) means "any route received."

Valid Values: Any IPv6 unicast address, no multicast address, no loopback address, no linklocal address, no site local address, no IPv4 mapped address

Default Value: None

Prefix length
The length of the prefix. This parameter must be configured if originate default if BGP routes available is yes.

Valid Values: 8 - 128

Default Value:

Originate default if OSPF6 routes available
You can configure a router running OSPF6 to advertise itself as the default router (called originating the default route) via RIP6. When this parameter is enabled, the router advertises itself as the default router via RIP6 if it has OSPF6-derived routes in its routing table. The default router performs routing for other routers on the Internet that have packets for an unknown network destination.

Valid Values: Yes or No

Default Value: No

Originated default cost
This parameter specifies the cost that RIP will advertise with the default route that it originates. The cost is used to determine the shortest path for the default route to its neighbor router.

Valid Values: 1 - 16

Default Value: 1

Example:

RIP6 config>set originating
      Always originate default route? [No]: Yes 
      Enter Originated default cost: between 1 and 15  [1]? 1 
      Update RIP6 default origination dynamically: OK 
      RIP6 config> 

Example:

RIP6 config>set originating 
      Always originate default route? [Yes]: no 
      Originate default dependent on BGP6 route availability? [No]: yes 
      From AS number [0]? 10 
      Dest. prefix (or network number) [::]? 1234::0 
      Prefix length must between 8 and 128 [64]? 64 
      Enter Originated default cost: between 1 and 15  [1]? 1 
      Update RIP6 default origination dynamically: OK 
      RIP6 config> 

rip6-in-metric
Changes the value of the RIP6 metric for the incoming RIP6 updates.

Change RIPng metric on which interface?
Specifies the interface number on which RIP6 input metric is to be changed.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

RIP6 input Metric
Changes the value of the RIP6 metric on incoming RIP6 updates.

Valid Values: 1 - 15

Default Value: 1

rip6-out-metric
Changes the RIP6 metric on the outgoing RIP6 updates.

Change RIPng metric on which interface?
Specifies the interface number on which RIP6 output metric is to be changed.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

RIP6 output Metric
Specifies the value of the RIP6 metric on outgoing RIP6 updates.

Valid Values: 0 - 15

Default Value: 0

Delete

Use the delete command to remove RIP6 from the specified interface.

Syntax:

delete
interface#

interface#
Specifies the interface from which RIP6 protocol is to be removed.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: None

Disable

Use the disable command to disable RIP6.

Syntax:

disable
override ...
rip6
sending ...

override ...

static-routes
Overrides RIP6 static routes on an interface.

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be disabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

default
Overrides RIP6 default routes on an interface.

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be disabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

rip6
Disables RIP6 on the specified interface.

Valid Values: Yes or No

Default Value: Yes

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be disabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

sending ...

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be disabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

all-routes
Disables advertisement of all RIP6 routes on an interface.

Valid Values: Yes or No

Default Value: Yes

default-routes
Disables advertisement of RIP6 default routes on an interface.

Valid Values: Yes or No

Default Value: Yes

static-routes
Disables advertisement of RIP6 static routes on an interface.

Valid Values: Yes or No

Default Value: Yes

poisoned-reverse-routes
Disables poison reverse in sending RIP6 updates on an interface.

Valid Values: Yes or No

Default Value: Yes

Enable

Use the enable command to enable RIP6.

Syntax:

enable
override ...
rip6
sending ...

override ...

static-routes
Overrides RIP6 static routes on an interface.

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be enabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

default
Overrides RIP6 default routes on an interface.

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be enabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

rip6
Enables RIP6 on the specified interface.

Valid Values: Yes or No

Default Value: Yes

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be enabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

sending ...

Modify RIP6 flags on which interface?
Specifies the interface number on which RIP6 is to be enabled.
Note:The interface must have RIP6 configured.

Valid Values: Any valid interface number

Default Value: 0

all-routes
Enables advertisement of all RIP6 routes on an interface.

Valid Values: Yes or No

Default Value: Yes

default-routes
Enables advertisement of RIP6 default routes on an interface.

Valid Values: Yes or No

Default Value: Yes

static-routes
Enables advertisement of RIP6 static routes on an interface.

Valid Values: Yes or No

Default Value: Yes

poisoned-reverse-routes
Enables poison reverse in sending RIP6 updates on an interface.

Valid Values: Yes or No

Default Value: Yes

List

Use the list command to display the RIP6 configuration.

Syntax:

list
all
Example:
RIP6>list all
RIP6 
     Nets: -   0        RIP6: ENABLED 
                            Send: static routes 
                                  Poison reverse enabled. 
                            Receive:  Not override default and static routes 
                            RIP interface input metric: 1 
                            RIP interface output metric: 0 
 
    RIP6 default origination: BGP6(AS=10, net/prefix_len=1234::/64), cost = 1 
 
    Import BGP6 routes: enabled -  AUTOTAG: enabled 

Set

Use the set command to set RIP6 configuration parameters.

Syntax:

set
import bgp6 routes
originating default
rip6-in-metric
rip6-out-metric

import bgp6 routes
This parameter specifies that routes learned by BGP6 will be imported into the RIP6 routing network. Only routes that appear in the BGP6 input exchange tables will be imported. All routes are imported with their cost equal to their routing table cost.

Valid Values: Yes or No

Default Value: Yes

If the routes learned by BGP6 are imported into the RIP6 routing network, the following parameter can be configured:

Enable autotag
This parameter allows RIP6 to automatically generate tags for BGP6 routes. The tag value is the AS number from which the route is learned.

Valid Values: Yes or No

Default Value: Yes

Example:

RIP6 config>set import
Import BGP6 routes?? [Yes]:
Enable AUTOTAG? [Yes]: 
AUTOTAG is updated dynamically 

originating default
This following configuration parameters allow you to set RIP6 to advertise the router as a default router.

Always originate default route
Enabling this parameter allows RIP6 to advertise the router as a default router (called originating the default route). The default router performs routing for other routers on the Internet that have packets for an unknown network destination.

Valid Values: Yes or No

Default Value: No

Originate default dependent on BGP route availability
This field allows user to enable or disable a router running EGP/BGP to advertise itself as a default router via its IGP (RIP6 in this case.)

Valid Values: Yes or No

Default Value: No

From AS number
If you are configuring RIP6 to originate a default route when EGP routes are available, you can also configure it to originate the default only if EGP routes are received from a particular AS. For example, if you want a default route generated only if an EGP route is received from AS number 12, you would set this parameter to 12. Setting the AS number to 0 means "from any AS".

Valid Values: 0 - 65535

Default Value: None

Destination prefix (or network number)
If you are originating a default route when EGP routes are available, you can also choose to originate the default only if a particular route is received through the EGP. For example, if you want a default route generated only if a route to network N is received, you would set this parameter to N. Setting the network number to :: (zero) means "any route received".

Valid Values: Any IPv6 unicast address, no multicast address, no loopback address, no linklocal address, no site local address, no IPv4-mapped address

Default Value: None

Prefix length
The length of the prefix. This parameter must be configured if originate default if BGP routes available is yes.

Valid Values: 8 - 128

Default Value:

Originate default if OSPF6 routes available
You can configure a router running OSPF6 to advertise itself as the default router (called originating the default route) via RIP6. When this parameter is enabled, the router advertises itself as the default router via RIP6 if it has OSPF6-derived routes in its routing table. The default router performs routing for other routers on the Internet that have packets for an unknown network destination.

Valid Values: Yes or No

Default Value: No

Originated default cost
This parameter specifies the cost that RIP will advertise with the default route that it originates. The cost is used to determine the shortest path for the default route to its neighbor router.

Valid Values: 1 - 16

Default Value: 1

Example:

RIP6 config>set originating
      Always originate default route? [No]: Yes 
      Enter Originated default cost: between 1 and 15  [1]? 1 
      Update RIP6 default origination dynamically: OK 
      RIP6 config> 

Example:

RIP6 config>set originating 
      Always originate default route? [Yes]: no 
      Originate default dependent on BGP6 route availability? [No]: yes 
      From AS number [0]? 10 
      Dest. prefix (or network number) [::]? 1234::0 
      Prefix length must between 8 and 128 [64]? 64 
      Enter Originated default cost: between 1 and 15  [1]? 1 
      Update RIP6 default origination dynamically: OK 
      RIP6 config> 

rip6-in-metric
Sets the RIP6 metric on incoming RIP6 updates.

Change RIPng metric on which interface?
Specifies the interface number on which RIP6 input metric is to be set.

Valid Values: Any valid interface number

Default Value: 0

RIP6 input Metric
Specifies the value of the RIP6 metric used on incoming RIP6 updates.

Valid Values: 1 - 15

Default Value: 1

rip6-out-metric
Sets the RIP6 metric used on outgoing RIP6 updates.

Change RIPng metric on which interface?
Specifies the interface number on which RIP6 output metric is to be set.

Valid Values: Any valid interface number

Default Value: 0

RIP6 output Metric
Specifies the value of the metric used on outgoing RIP6 updates.

Valid Values: 0 - 15

Default Value: 0


Accessing the RIP6 Monitoring Environment

Use the following procedure to access the RIP6 monitoring commands. This process gives you access to the RIP6 monitoring process.

  1. At the OPCON prompt, enter talk 5. (For more detail on this command, refer to "The OPCON Process" in Access Integration Services Software User's Guide.) For example:
        * talk 5
        +
    

    After you enter the talk 5 command, the GWCON prompt (+) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.

  2. At the + prompt, enter the p rip6 command to get you to the RIP6> prompt.

    Example:

        + p rip6
        RIP6>
     
    

RIP6 Monitoring Commands

This section describes the RIP6 monitoring commands.

Table 114. RIP6 Monitoring Command Summary
 Command   Function 
? (Help) Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help".
 dump   Displays routing tables. 
 list   Displays the configuration. 
 ping6   Dynamically pings an IPv6 address. 
 reset   Dynamically resets RIP6. 
 traceroute6   Dynamically traces a route. 
Exit Returns you to the previous command level. See "Exiting a Lower Level Environment".

Dump

See "Dump routing tables" for information about the dump command.

List

Use the list command to display the configuration.

Syntax:

list
Example:
RIP6>list
 
RIP6                      In     Out 
Intf    State             Metric Metric Send-Flags       Receive-Flags 
 0         Enabled /UP    1      0      St,P 
 
Send Flags: St=Static D=Default P=PoisonReverse 
Recv Flags: OSt=Override-Static OD=Override-Default 
 
RIP originates default with cost 1 under these conditions: 
  BGP6 or OSPF6 External route 1234::/64 from AS 10 available 
  Default origination conditions not satisfied 
Import BGP6 routes: enabled - AUTOTAG: enabled 

Ping6

See "Ping6" for details about the ping6 command.

Reset

Syntax:

reset
Example:
RIP6>reset

Traceroute6

See "Traceroute6" for details about the traceroute6 command.


RIP6 Dynamic Reconfiguration Support

This section describes dynamic reconfiguration (DR) as it affects Talk 6 and Talk 5 commands.

CONFIG (Talk 6) Delete Interface

Routing Information Protocol for IPV6 (RIP6) supports the CONFIG (Talk 6) delete interface command with the following consideration:

All RIP6 configurations configured for this interface are deleted, too.

GWCON (Talk 5) Activate Interface

RIP6 supports the GWCON (Talk 5) activate interface command with the following consideration:

IPv6 must be configured for this interface

All RIP6 interface-specific commands are supported by the GWCON (Talk 5) activate interface command.

GWCON (Talk 5) Reset Interface

RIP6 supports the GWCON (Talk 5) reset interface command with the following consideration:

All RIP6 configurations for an interface change dynamically if there is an IPv6 address configured for this interface.

All RIP6 interface-specific commands are supported by the GWCON (Talk 5) reset interface command.

GWCON (Talk 5) Component Reset Commands

Routing Information Protocol for IPv6 (RIP6) supports the following RIP6-specific GWCON (Talk 5) reset commands:

GWCON, Protocol RIP6 Reset Interface (or All Interfaces) Command

Description:
Dynamically changes the policies or parameters of an RIP6 interface (all RIP6 interfaces.)

Network Effect:
Depending on the configuration changes, it will alter the sending or receiving policies of RIP6 routes on an interface.

Limitations:
None.

All RIP6 commands are supported by the GWCON, protocol RIP6 reset interface (or all interfaces) command.

CONFIG (Talk 6) Immediate Change Commands

RIP6 supports the following CONFIG commands that immediately change the operational state of the device. These changes are saved and are preserved if the device is reloaded, restarted, or you execute a dynamically reconfigurable command.

All RIP6 Talk 6 commands are dynamic.

Non-Dynamically Reconfigurable Commands

All RIP6 configuration parameters can be changed dynamically.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]